package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.ruoyi.system.domain.Medicine;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 药品列表Mapper接口
 *
 * @author yangxp
 * @date 2020-07-29
 */
public interface MedicineMapper extends BaseMapper<Medicine> {

	/**
	 * 获取药品列表 连接货架表
	 * @param wrapper
	 * @return
	 */
	List<Medicine> selectMedicineList(@Param(Constants.WRAPPER) Wrapper wrapper);
}
